package com.chengliang.bbs.entry;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 帖子回复
 * @author: chengliang
 * @create: 2019-08-12 17:26
 */
@Data
@Accessors(chain = true)
public class Reply  implements Serializable {

    /**
     * 主键
     */
    @Id
    private Integer replyId;
    /**
     * 回复帖子Id
     */
    private Integer jieId;

    /**
     * 帖子信息对象
     */
    private Jie jie;

    /**
     * 回复人
     */
    private User user;

    /**
     * 内容
     */
    private String replyContent;
    /**
     * 回复时间
     */
    private LocalDateTime replyTime;
    /**
     * 点赞数量
     */
    private Integer replyLikeNumber;
    /**
     * 是否被采纳
     */
    private Boolean replyAdoptStatus;
    /**
     * 删除状态
     */
    private Boolean replyDelete;
}
